
import http from './http'

export const login = async( user, password, singleSignIn, remember ) => {
    
  let userinfo = await http.fetchGet('/tlogin/${user.username/${password}/8');

  if(userinfo.type == "f"){ return false }
  return true
}

export const loginOut = async () =>{
  http.fetchPost("/api/login/out")
}
